home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / communication / bbs / hydrabbsa8 / nodes / node1 / device < prev    next >
Encoding:
Text File  |  1997-11-21  |  6.4 KB  |  175 lines

  1. ;$HBBS
  2. ; Filename: Device
  3. : Location: Nodes/NodeX/
  4. ; Purpose: settings for modem
  5.  
  6. ; if this file is missing from a node directory the bbs software will assume
  7. ; the node is a sysop local node.
  8.  
  9. ; We hope the modem configuration options are complete enough for all sysops.
  10. ; the modem settings are normally a real pain to get right on other bbs systems
  11. ; so we have tried to make this VERY configurable.
  12. ; if you would like to see a new feature added to this then PLEASE CONTACT US
  13. ; IMMEDIATLY and we will do are very best to implement it as soon as we can!
  14.  
  15. ; Note: most of the setting in this config file should work with all 100% hayes
  16. ; compatiable modems, but there is bound to be one make of modem that might
  17. ; not support the defaults in this file,  in anycase, please check these
  18. ; settings with the manual for your modem just in case.
  19.  
  20. ; We recommend you use USRobotics/Miracom modems with this bbs software
  21. ; as they are extremly good and reliable modems.
  22.  
  23. ;******************************************************************************
  24.  
  25. ; serial device driver to use for the node, usually just serial.device
  26. ; note that this command is case sensitive.
  27.  
  28. ; we recommened you that you use USRSerial.device for usrobotics modems
  29. ; and BaudBandit.device for other modems,  these serial drivers are more
  30. ; streamlined, efficent and use less CPU time than the standard C= one.
  31.  
  32. ;SerialDevice=nullmodem.device
  33. ;SerialUnit=2
  34. ;SerialBaud=38400
  35.  
  36. SerialDevice=USRSerial.device
  37. SerialUnit=0
  38. SerialBaud=57600
  39.  
  40. ; now, the following option, if enabled, will make the node open a small window
  41. ; on it's screen into which you will see all commands sent to the modem and
  42. ; all responces received back from it  you can also have these saved to a log
  43. ; file by enabling the ModemLog option (below)
  44. ; (note that clicking the "ModemDebug" button and on a node button from the
  45. ; gui will override this setting for as long as the node is active)
  46.  
  47. ModemDebug=ON
  48.  
  49. ; If enabled all input and output from the modem will be saved in a time and
  50. ; datestamped file (see BBS:Nodes/NodeX/NodeLocal file, option
  51. ; ModemLogFile= setting)
  52.  
  53. ModemLog=OFF
  54.  
  55.  
  56. ; max time to wait before OK or ERROR is received from the modem.
  57.  
  58. MaxCommandWait=5 ; value is in seconds...
  59.  
  60. ; number of retries the bbs will make before resending the TurnEchoOn
  61. ; string
  62.  
  63. CommandRetries=3
  64.  
  65. ; amount of times the bbs will send the TurnEchoOn string if it doesn't receive
  66. ; OK from the modem
  67.  
  68. EchoRetries=4
  69.  
  70. ; number of retries the software will make AFTER the echo retries (above) before
  71. ; the serial device driver is closed and reopened.
  72.  
  73. ReOpenRetries=2
  74.  
  75. ; time to wait after closing the serial device before reopening it.
  76.  
  77. ReOpenDelay=60 ; 60 per second
  78.  
  79. ; to recap using the 4 defaults above,
  80.  
  81. ; The node will retry the command 3 times, if the command times out then it
  82. ; will send the TurnEchoOn string to the modem 4 times until it receives an OK
  83. ; if it still fails it will close the serial device and reopen it
  84. ; after 120 milli seconds and try all over again..
  85.  
  86. ; using the above 4 settings we can pretty much cope for any strange error
  87. ; that might cause a modem to lockup.  Obviously if the modem has totally locked
  88. ; up and does not respond at all someone will still have to powercycle the modem
  89. ; by hand.
  90.  
  91. ; Now comes a really great feature,  if the modem does lockup totally (see above)
  92. ; the following script will be run.  So in theroy you could have a little
  93. ; IO device on you parallel port connected to the power of your modem (via a
  94. ; relay or something) that could actually turn the modem off and on again!!
  95. ; now how's that for failsafe bbs lockup protection!! :-)
  96.  
  97. LockUpScript=HBBS:Scripts/Lockup.scr
  98.  
  99. ; delay to wait before sending another command after OK is received.
  100. ; normally set this to about 5 or so for NULLMODEM.device, but for a modem
  101. ; you'll probably need values about 30...
  102.  
  103. DelayBetweenCommands=20 ; 60 per second...
  104.  
  105. ; specifies how long the software should wait before sending another
  106. ; character to the modem
  107.  
  108. TildeDelay=30
  109.  
  110. ; Also note that the Local Echo Should Be Turned ON, unlike most bbs software
  111. ; this software checks that the modem is actually receving the commands
  112. ; that you want to send to it.
  113.  
  114. ; the following command is send to the modem as soon as the serial device driver
  115. ; is opened, note that the bbs software WILL NOT verify that this command
  116. ; has been sent as the modem's local echo setting may be off so we cannot
  117. ; check for the characters coming back from the serial port until this
  118. ; command has been completed,  also make sure that the modem is setup so that
  119. ; when a command completed it returns either OK or ERROR rather than a numerical
  120. ; result code
  121.  
  122. TurnOnEcho_1=ATE1Q0V1
  123.  
  124. ; Modem INIT's get sent when the node is started, a user logs off and
  125. ; when the node is reset.
  126.  
  127. ; below are the preferred defaults, this bbs software lets the modem answer
  128. ; the call itself using its own auto answer method, so make sure auto answer
  129. ; is set to ON in the init string.  Normal Hayes Compatable modems use the S0
  130. ; register to set auto answer, it's best to make the modem answer after 2 or 3
  131. ; rings, to give those people going through some sort of international gateway
  132. ; or operator to put the modem on after they have finished speaking to an operator
  133.  
  134.  
  135. ModemInit_1=ATZ
  136. ModemInit_2=ATH0M1S0=3
  137.  
  138. ; for determining when a connection has been made the following methods are used
  139. ; the first is the strict connect method, the connect string received from the
  140. ; modem MUST match letter for letter to one of the strings defined in the
  141. ; StrictConnect.x= parameters.
  142. ; the second method is what we would normally use and that method is as follows.
  143. ; when a string is recevied from the modem it is searched for the word
  144. ; defined in RelaxedConnect and if that word is found the connection starts
  145.  
  146. StrictConnect=OFF
  147. StrictConnectStr_1=CONNECT 9600
  148. StrictConnectStr_2=CONNECT 12000
  149. StrictConnectStr_3=CONNECT 14400
  150. StrictConnectStr_4=CONNECT 16800
  151.  
  152. RelaxedConnectStr_1=CONNECT
  153.  
  154. ; Command sent to modem to put the modem in command mode while still on-line.
  155. ; Note: command is not checked when sent to modem
  156.  
  157. CommandModeString_1=~~~+++~~~
  158.  
  159. ; string sent to modem to enforce a hang up.
  160.  
  161. HangUpString=ATH0M0
  162.  
  163. ; string sent to modem to make it go off-hook.  This is sent after a carrier loss
  164. ; and when a user is logging off after the CommandModeString has been sent to
  165. ; the modem, you might also want to turn of your modem's speaker using something
  166. ; like "M0" in this.
  167.  
  168. OffHookString=ATH1M0
  169.  
  170. DropDTRHangup=TRUE
  171.  
  172. Incoming=RING
  173.  
  174. ImmediateAnswer=ATA
  175.